package com.CampusLife.service.impl;

import com.CampusLife.bean.Menu1;
import com.CampusLife.bean.Menu2;
import com.CampusLife.bean.Role;
import com.CampusLife.dao.IRoleDao;
import com.CampusLife.service.IRoleService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;
@Service
@Transactional
public class RoleServiceImpl implements IRoleService {
    @Resource
    private IRoleDao iRoleDao;

    @Override
    public List<Menu2> getshiwuzhaoling() {
        return iRoleDao.getshiwuzhaoling();
    }

    @Override
    public List<Menu2> getxianzhi() {
        return iRoleDao.getxianzhi();
    }

    @Override
    public List<Menu2> getxioayuantongzhi() {
        return iRoleDao.getxioayuantongzhi();
    }

    @Override
    public List<Menu1> getMenu1() {
        return iRoleDao.getMenu1();
    }

    @Override
    public List<Menu2> getlunbo() {
        return iRoleDao.getlunbo();
    }

    @Override
    public List<Role> getRole() {
        return iRoleDao.getRole();
    }
}
